﻿namespace IceCS.DataStructure.TrainSequence
{
    /// <summary>
    /// 车厢类
    /// </summary>
    public class Carriage
    {
        /// <summary>
        /// id编号
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 车厢颜色
        /// </summary>
        public string Color { get; } = "green";

        public Carriage(int id)
        {
            Id = id;
        }
    }
}
